home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / SWI / source / readme.win < prev    next >
Encoding:
Text File  |  1996-06-14  |  8.5 KB  |  241 lines

  1.              SWI-Prolog for Win32
  2.                 Jan Wielemaker
  3.                    06/06/94
  4.  
  5.               (Updated: 14/06/96)
  6.                (Version 2.7.8)
  7.  
  8.  
  9. This distribution contains SWI-Prolog for   Windows-'95,  Windows-NT and
  10. Windows 3.1/Win32s. SWI-Prolog runs  in   a  simple  MS-Window providing
  11. traditional stream-based interaction or as a Win32 console application.
  12.  
  13.  
  14. Installation:
  15. =============
  16.  
  17. Unpack the archive anywhere  you  like.   You  can  start  SWI-Prolog by
  18. starting the executable bin\plwin.exe. *DO NOT*   move  plwin.exe, as it
  19. uses the path-name of the executable to find its home directory. You may
  20. wish to create an ICON for it. Either   do this by hand using the normal
  21. program-manager UI or start SWI-Prolog by double clicking the executable
  22. and typing:
  23.  
  24.     ?- progman_setup.
  25.  
  26. which  will  create  the  program  group  SWI-Prolog  and  an  icon  for
  27. SWI-Prolog in this group.  The default working directory is set to C:
  28.  
  29.  
  30. Redoing the boot compilation
  31. ============================
  32.  
  33. The system normally loads the Prolog code from the file startup\startup.
  34. If you changed anything to the Prolog   sources in the boot directory or
  35. the system appears to have path-problems   with system related files, it
  36. may be wise to redo the boot compilation.  To do this, run the command
  37.  
  38.     bin\plwin.exe -O -o startup\startup -b boot\init.pl
  39.  
  40. The current working directory must  be   the  Prolog base directory.  In
  41. both Windows-95 as NT, you can run this   from a DOS-box, in Windows 3.1
  42. you will have to use the "Run ..." option from the program manager.
  43.  
  44.  
  45. SWI-Prolog and 8-bit characters (programming readline)
  46. ======================================================
  47.  
  48. If you built SWI-Prolog  using  the   readline  library,  by default you
  49. cannot enter 8-bit characters from  the   terminal  as  the GNU readline
  50. library  maps  any   character   with   the    high-bit   set   to   ESC
  51. <character-with-8bit-cleared>. To fix this, create a file ~/.inputrc and
  52. add the following lines:
  53.  
  54. ################################################################
  55. set convert-meta off
  56. set output-meta  on
  57. ################################################################
  58.  
  59. Actually, the readline version underlying  the   Win32  version  is 1.2,
  60. which does not define the  "output-meta"   variable,  but  this does not
  61. harm.
  62.  
  63. Note that ~/.inputrc is the file named .inputrc in the directory pointed
  64. to by the variable %HOME%.  This  does   not  work  under  Win32s, where
  65. .inputrc is an  invalid  filename.  Instead,   create  a  file  using an
  66. arbitrary name (inputrc for the example) and run:
  67.  
  68.     ?- rl_read_init_file(inputrc).
  69.  
  70. See readline(3) for details.
  71.  
  72. Status:
  73. =======
  74.  
  75. The first four releases were based  on   the  WATCOM 32-bit extender for
  76. Windows 3.1. The 5th release has   been  developed with Microsoft Visual
  77. C/C++ 2.0 under Windows-NT 3.5.  This   release  was compiled and tested
  78. under Windows-'95 using MSVC 2.0. It has been used in the development of
  79. XPCE for quite a while and appears  to   run  stable  on '95 and -NT and
  80. reasonable (compared to the operating system :-) under win32s.
  81.  
  82. This version has Virtual Memory Management   based stack expansion (i.e.
  83. no stack-shifter and thus no bugs therein :-).
  84.  
  85. This version also handles crashes often gracefully.
  86.  
  87.  
  88. Version 2.5.[0-2] windows-specific changes
  89. ======================================
  90.  
  91.     None sofar!
  92.  
  93.  
  94. Version 2.1.14 windows-specific changes
  95. =======================================
  96.  
  97.     * Fixed bug in the garbage collector, which is certainly
  98.     relevant on win32s, but maybe relevant under NT and '95 too.
  99.     This but is irrelevant for the Unix versions.
  100.  
  101.  
  102. Version 2.1.13 windows-specific changes
  103. =======================================
  104.  
  105.     * Changed statistics(cputime, X) to use the Win32
  106.     GetProcessTimes() call when supported (NT only, it appears).
  107.     This implies that the system returns quite accurate process
  108.     user time under NT and wall-clock time minus the time waiting
  109.     for user-input under Windows '95 and Windows 3.1/win32s.
  110.  
  111.  
  112. Version 2.1.10 windows-specific changes
  113. =======================================
  114.  
  115.     * added ISO compliant open/4 that allows you to open files
  116.       both in text and binary mode.
  117.  
  118.     * Added ISO compliant character-escape codes for reading
  119.       quoted atoms.  This is notably problematic when using
  120.       DOS filenames: ?- ['c:\new.pl'] will cause the system to look
  121.       for the file
  122.  
  123.         c:
  124.         ew.pl
  125.  
  126.       which, of course, it cannot find.  Either use \\ or the Unix /
  127.       to separate path-components.  Note that
  128.       set_feature(character_escapes, false) may be used to switch
  129.       back to the old behaviour.
  130.  
  131.     * Added proper color handling to the console window (reading
  132.       the users color-settings).  Changed font to be the stock
  133.       ANSI fixed font rather then the system font.  Not that
  134.       colors may be changed using:
  135.  
  136.         ?- load_foreign_library(dlltest).
  137.         ?- rlc_color(window, 255, 0, 0).
  138.  
  139.       The first argument is window, text, highlight or
  140.       highlighttext.  See also dlldemo\dlltest.c.
  141.  
  142.     * Fixed filename completion from the console window.
  143.  
  144.     * The console window now signals end-of-file both on the
  145.       Unix Control-D as the DOS Control-Z.
  146.  
  147.     * Fixed expand_file_name/2 to be case-insensitive.  This fixes
  148.       make/0.
  149.  
  150.     * Added support for name-associations.  If a file is saved using
  151.       qsave_program/2 with the extension .QLX, associating plwin.exe
  152.       with .QLX files will make them self-starting.
  153.  
  154.       Associating plwin.exe with .PL files will cause Prolog to
  155.       start, change directory to the directory holding the file and
  156.       load the file.
  157.  
  158.     * Handle Control-C to interrupt execution correctly in most
  159.       cases.
  160.  
  161.     * Fixed name/2 and friends to use 8-bit characters properly
  162.       if compiled on a compiler treating char as signed (MSVC++).
  163.  
  164.  
  165. Version 2.0.6 windows-specific changes
  166. ======================================
  167.  
  168.     * Added DDE server interface and some more options to the DDE
  169.       client interface.
  170.  
  171.     * Added DLL interface.  I know it loads 32-bit NT DLL's, I don't
  172.       think it will load 16-bit Windows DLL's, but I'm not sure.
  173.  
  174.     * The console may now be used with 2-button mice.  `Paste',
  175.       normally assigned to the middle button may be activated using
  176.       Alt-Y or pressing both buttons at the same time (three-button
  177.       emulation as done by many X-servers).
  178.  
  179.     * Long-filename handling is (as yet) based on how NT handles
  180.       long filenames on FAT partitions.  Only activated for Win32s;
  181.       NT has long filenames.
  182.  
  183.     * Representation of absolute paths has changed from /c:/... to
  184.       the more natural c:/...  Use is_absolute_file_name/1 to test
  185.       whether a filename is absolute.  The old /c:/... is accepted
  186.       as well.
  187.  
  188.     * Installation is now very simple: just unpack the whole lot
  189.       any place you like and start the binary (.../bin/plwin.exe).
  190.       You can make an icon for it.  *DON'T* move plwin.exe and the
  191.       DLL files to another directory as the pathname of the 
  192.       executable is used to determine the home directory.
  193.  
  194.  
  195. Version 1.9.5 windows-specific changes
  196. ======================================
  197.  
  198.     * Fixed floating-point representation problem
  199.     * Fixed DDE interface (my mistake, to which Don Dwiggens pointed
  200.        me).
  201.     * Added dde_execute/2 to give DDE execution commands.
  202.  
  203. Version 1.9.4 windows-specific changes
  204. ======================================
  205.  
  206.     * Compiled for floating-point emulations on machines that
  207.       lack floating point hardware.
  208.     * Fixed memory management bug in stack-expander.
  209.     * Added DDE interface.
  210.     * Added editor declaration for Windows notepad.
  211.     * Fixed problem in file-name mapping that caused existing
  212.       files to be reported as non-existing sometimes.
  213.  
  214. Version 1.9.0 windows-specific changes
  215. ======================================
  216.  
  217.     * Filename conversion and finding the home-directory is
  218.       fixed.
  219.     * The drive's root directory is now handled properly.
  220.     * Fatal errors will now often :-( show a Windows message-box
  221.       instead of just quiting Prolog.  This allows you to read
  222.       the message :-)
  223.     * Control-C break is tested in the main virtual machine loop.
  224.       A few procent slower, but it does allow you to break a
  225.       looping program ...
  226.     * Cut-and-paste is implemented in the console-window, allowing
  227.       for xterm-like cut-and-paste (left/right to start/extend the
  228.       selection and middle to paste it).
  229.     * Improved error reporting.
  230.     * Now Writes files in DOS text-format rather then using binary
  231.       mode.
  232.     * Installation has changed a bit.  Read it!
  233.       ============
  234.  
  235.  
  236. Copyright:
  237. ==========
  238.  
  239. SWI-Prolog may be  distributed  freely   for  non-commercial  use.   See
  240. pl\licence for a more complete description of your rights.
  241.